﻿/**********************************天使物流*******************************************
* 功能描述:结算管理-进项发票管理
* 作者:石锦涛
* 时间:2022-01-11
* 
**********************************天使物流*******************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TianShiProject.Models.Common;

namespace TianShiProject.Models.SettleAccounts.NewInputInvoices
{
    public interface INewInputAppRepository
    {
        /// <summary>
        /// 分页显示
        /// </summary>
        /// <returns></returns>
        Task<PageResponse<NewInputInvoiceDto>> GetNewInput(string name,int? clas,string times,int pageindex=1,int pagesize=5);
        /// <summary>
        ///  进项发票逻辑删除
        /// </summary>
        /// <returns></returns>
        Task<PageResponse<NewInputInvoiceDto>> DeleteNewInput(int Id);
        /// <summary>
        /// 修改进项发票
        /// </summary>
        /// <param name="newInput"></param>
        /// <returns></returns>
        Task<PageResponse<int>> UpdateNewInput(NewInputInvoiceDto newInput);
        /// <summary>
        /// 新增进项发票
        /// </summary>
        /// <param name="newInput"></param>
        /// <returns></returns>
        Task<PageResponse<int>> PostNewInput(NewInputInvoiceDto newInput);
        /// <summary>
        /// 批量逻辑删除进项发票
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<PageResponse<NewInputInvoiceDto>> DeleteNewInputMent(string Id);
    }
}
